.img {
    background: transparent url('../img/bg.png') no-repeat center;
    height: 192px;
    background-size: 100%;
}

div.nav-container {
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    border: none;
}
ul {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    border: 1px solid #2b58a7;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
}

li {
    flex-grow: 1;
    flex-shrink: 1;
    border: none;
}

li div {
    display: block;
    width: 100%;
    height: 42px;
    line-height: 43px;
    color: #2b58a7;
    text-align: center;
    text-decoration: none;
    font-size: 15px;
    border: none;
}

.by_password,
.by_text {
    padding: 0 30px;
}

.by_password div.active {
    background-color: #2b58a7;
    border: 1px solid #2b58a7;
    color: #fff;
}

.by_text div.active {
    background-color: #2b58a7;
    border: 1px solid #2b58a7;
    color: #fff;
}

div.form-container {
    margin: 30px auto 20px auto;
}
.cell {
    height: 50px;
    display: flex;
    border-bottom: 1px solid #eee;
    margin: 10px auto;
}

.cell > input {
    width: 100%;
    display: block;
    padding: 0 5px;
    font-size: 15px;
    color: #444;
    border: none;
    background-color: #fff;
}

.phone-cell {
    position: relative;
}
.phone-cell::after {
    content: '';
    width: 16px;
    height: 16px;
    background: transparent url('../img/icon_input_close30x30.png') no-repeat center;
    background-size: 100% 100%;
    position: absolute;
    right: 10px;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: 2;
}
.password-cell {
    position: relative;
}

.password-cell::after {
    width: 17px;
    height: 15px;
    background: transparent url('../img/icon_eye_1.png') no-repeat center;
    background-size: 100% 100%;
    position: absolute;
    content: "";
    right: 9px;
    top: 0;
    bottom: 0;
    z-index: 3;
    margin: auto;
}

.text-code::after {
    content: attr(data-text);
    width: 80px;
    height: 15px;
    text-align: right;
    font-size: 13px;
    background: transparent;
    position: absolute;
    color: #2b5eb6;
    right: 6px;
    top: 0;
    bottom: 0;
    margin: auto;
}

.form-container .b-line {
    width: 0;
    height: 2px;
    background: #f5f5f5;
    overflow: hidden;
    -webkit-transition: .35s;
    transition: .35s;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
}
.form-container .c_inp:focus + .b-line {
    width: 100%;
    background: #2b5eb6;
}

.submit {
    display: block;
    height: 38px;
    line-height: 38px;
    background-color: #2b58a7;
    color: #fff;
    border: none;
    border-radius:20px;
    margin-top: 50px;
}

.register-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    text-align: right;
    margin: 20px auto;
}


div.by_text {
    justify-content: flex-end;
}
div.reg {
    margin-right: -27px;
}
.register-container a {
    color: #2b58a7;
}
.register-container span {
    color: #999999;
}

.by_text {
    display: none;
}


